package com.shuaigequtan.order;

import com.shuaigequtan.ribbon.config.MyRibbonRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
//@EnableDiscoveryClient
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration= MyRibbonRule.class)
public class Application8080 {
    public static void main(String[] args) {
        SpringApplication.run(Application8080.class, args);
    }
}
